from name_function import get_formatted_name

print("输入q退出")
while True:
    first = input("请输入第一个名字")
    if first == "q":
        break
    last = input("请输入第二个名字")
    if last == "q":
        break

    formatted_name = get_formatted_name(first, last)
    print(f"formatted_name name:{formatted_name}")